

        <g:set var="entityName" value="${message(code: 'schoolInfo.label', default: 'SchoolInfo')}" />
             <g:form action="save" method="post" name="schoolInfoCreate">
                <div class="dialog">
                    <table>
                        <tbody>
                           <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="name">学校标识：</label>
                                </td>
                                <td valign="top" class="value">
                                    <input type="hidden" name="logo.id" id="schoolInfoLogo" value="${schoolInfoInstance?.logo?.id}">
                                    <span class="files"></span>
                                    <span id="upload_but" class="button">Upload</span>
                                </td>
                            </tr>
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="name"><g:message code="schoolInfo.name.label" default="Name" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: schoolInfoInstance, field: 'name', 'errors')}">
                                    <g:textField name="name" maxlength="250" value="${schoolInfoInstance?.name}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="headmaster"><g:message code="schoolInfo.headmaster.label" default="Headmaster" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: schoolInfoInstance, field: 'headmaster', 'errors')}">
                                    <g:textField name="headmaster" maxlength="100" value="${schoolInfoInstance?.headmaster}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="level"><g:message code="schoolInfo.level.label" default="Level" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: schoolInfoInstance, field: 'level', 'errors')}">
                                    <g:textField name="level" maxlength="100" value="${schoolInfoInstance?.level}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="adds"><g:message code="schoolInfo.adds.label" default="Adds" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: schoolInfoInstance, field: 'adds', 'errors')}">
                                    <g:textField name="adds" maxlength="250" value="${schoolInfoInstance?.adds}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="post"><g:message code="schoolInfo.post.label" default="Post" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: schoolInfoInstance, field: 'post', 'errors')}">
                                    <g:textField name="post" maxlength="10" value="${schoolInfoInstance?.post}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="tel"><g:message code="schoolInfo.tel.label" default="Tel" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: schoolInfoInstance, field: 'tel', 'errors')}">
                                    <g:textField name="tel" maxlength="100" value="${schoolInfoInstance?.tel}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="description"><g:message code="schoolInfo.description.label" default="Description" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: schoolInfoInstance, field: 'description', 'errors')}">
                                    <g:textArea name="description" cols="40" rows="5" value="${schoolInfoInstance?.description}" />
                                </td>
                            </tr>
                        
                          
                        
                        </tbody>
                    </table>
                </div>
                <div class="buttons">
                    <span class="button"><g:submitButton name="create" class="save" value="${message(code: 'default.button.create.label', default: 'Create')}" /></span>
                </div>
            </g:form>